package org.mysocial.datamodel;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.OneToOne;

@Entity
public class MessageNotification extends Notification
{
	@OneToOne(fetch = FetchType.LAZY)
	private Message message;

	public Message getMessage()
	{
		return message;
	}

	public void setMessage(Message message)
	{
		this.message = message;
	}
}
